<!DOCTYPE html>
<html>
 <head>
 <script type="text/javascript" src="jquery-1.7.2.js"></script>
 <script type="text/javascript" src="myJqueryFunc.js"></script>
 <script type="text/javascript">
 $(document).ready(function(){
	  $("a").click(function(){$("a").preventDefault();
	  alert("preventDefault: "+ $("a").IsPreventdefault);
 });
 
 });
 </script>
 </head>

 <body>
 <a href="http://www.w3schools.com">Click to open w3schools </a>
 </body>

 </html>